package com.itheima.day_02.homework02;

import java.util.ArrayList;
import java.util.Scanner;

public class Test03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("相信你的评论一定可以一针见血");
        String str = sc.next();
        //封装一个字符串集合,将需要屏蔽的字符都存放在里面
        String[] arr = {"sb","Sb","sB","SB","tmd","Tmd","tMd","tmD","TMd","tMD","TmD","TMD","傻蛋","sha蛋","傻dan"};
        for (int i = 0; i < arr.length; i++) {
            str = str.replace(arr[i],"**");
        }
        System.out.println(str);

    }
}
